AIOSEO\Plugin\Common\Admin\Admin D

Total Complexity 135
Dependencies 5
Dependents 0
Total lines 1,232
Lines of code 748
Logical lines of code 265
Comment lines 334
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
hooks()
C
34 23 88
addMenu()
A
42 10 52
adminBarMenu()
A
44 10 41
appendTrashedMessage()
A
46 9 37
addPageAnalyzerMenuItems()
S
39 3 74
setPages()
S
40 3 73
addSettingsMenuItems()
S
52 6 24
addGutenbergLinkFormatScript()
S
48 5 34
hideScheduledActionsMenu()
S
58 6 15
__construct()
S
56 5 17
init()
S
57 5 16
unslashEscapedDataPosts()
S
50 4 27
addEditSeoMenuItem()
S
58 4 15
addPublishScore()
S
52 3 28
registerLinkFormatHooks()
S
61 4 11
getFirstAvailablePageSlug()
S
63 4 11
getScoreClass()
S
64 4 10
isAioseoScreen()
S
60 3 14
addFooterText()
S
51 1 31
addPluginScripts()
S
63 3 10
alwaysAddHtmlDirAttribute()
S
70 3 6
addClassicLinkFormatScript()
S
50 1 28
enqueueBlockEditorLinkFormat()
S
63 2 11
getColumnsToUnslash()
S
54 1 25
addAdminBarMenuItems()
S
71 2 6
page()
S
68 2 8
addMainMenu()
S
64 1 11
scheduleUnescapeData()
S
75 1 4
checkForRedirects()
S
98 1 1
enqueueAssets()
S
74 1 4
deactivationSurvey()
S
79 1 3
getPageRequiredCapability()
S
80 1 3
loadTextDomain()
S
81 1 3
addAioseoModalPortal()
S
82 1 3
addFooterPromotion()
S
76 1 4